package com.wit.service.impl;

import java.util.List;

import com.wit.dao.MdescriptionDao;
import com.wit.po.Mark;
import com.wit.po.Mdescription;
import com.wit.service.MdescriptionService;

public class MdescriptionServiceImpl implements MdescriptionService {

	private MdescriptionDao mdescriptionDao;
	
	public MdescriptionDao getMdescriptionDao() {
		return mdescriptionDao;
	}

	public void setMdescriptionDao(MdescriptionDao mdescriptionDao) {
		this.mdescriptionDao = mdescriptionDao;
	}

	
	public boolean addMdescription(Mdescription mdescription) {
		// TODO Auto-generated method stub
		return mdescriptionDao.addMdescription(mdescription);
	}

	
	public boolean deleteMdescription(Mdescription mdescription) {
		// TODO Auto-generated method stub
		return mdescriptionDao.deleteMdescription(mdescription);
	}

	
	public List<Mdescription> findMdescriptionByMark(Mark mark) {
		// TODO Auto-generated method stub
		return mdescriptionDao.findMdescriptionByMark(mark);
	}

	
	public Mdescription findByIndentifier(Integer mdid) {
		// TODO Auto-generated method stub
		return mdescriptionDao.findByIdentifier(mdid);
	}

	
	public boolean modifyMdescription(Mdescription mdescription) {
		// TODO Auto-generated method stub
		return mdescriptionDao.modifyMdescription(mdescription);
	}

}
